<UserControl x:Class="P2.Cuberry.Modules.Clinicom.BedList.BedListsFindView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Margin="0" MinWidth="230" Width="Auto" MinHeight="230" Height="250">

    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/P2.Cuberry.Framework.Layout;component/Styles/Styles.xaml"/>     
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>

    </UserControl.Resources>

    <Grid Keyboard.KeyDown="Control_KeyDown">

        <Grid.Resources>
            <Image x:Key="FindIcon" Height="16" Width="16" Source="/P2.Cuberry.Modules.Clinicom.BedList;component/Images/find16.gif" />
            <Image x:Key="ClearIcon" Height="16" Width="16" Source="/P2.Cuberry.Modules.Clinicom.BedList;component/Images/clear.png" />
            <Image x:Key="AddIcon" Height="16" Width="16" Source="/P2.Cuberry.Modules.Clinicom.BedList;component/Images/add.png" />
        </Grid.Resources>

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <Grid.RowDefinitions>
            <RowDefinition Height="28"/>
            <RowDefinition Height="4" />
            <RowDefinition Height="*"/>
            <RowDefinition Height="2" />
        </Grid.RowDefinitions>


        <Menu Grid.Column="0" Grid.Row="0" x:Name="menuMain" Height="25" VerticalAlignment="Top" Background="{DynamicResource MyBlueBackgroundGradientBrush}" >
            <MenuItem x:Name="BedListFindBtn" Margin="2,4,0,2"  Header="{Translate BedListFind}" x:Uid="btnBedListFind" Command="{Binding BedListFindCommand}" Icon="{StaticResource FindIcon}" Style="{StaticResource P2FindMenuItemStyle}"/>
            <MenuItem x:Name="BedListClrBtn" Margin="2,4,0,2"  Header="{Translate BedListClr}" x:Uid="btnBedListClr" Command="{Binding BedListClrCommand}"  Icon="{StaticResource ClearIcon}" Style="{StaticResource P2FindMenuItemStyle}"/>
            <MenuItem x:Name="BedListAddBtn" Margin="2,4,0,2"   Header="{Translate BedListAdd}" x:Uid="btnBedListAdd" Command="{Binding BedListAddCommand}"  Icon="{StaticResource AddIcon}" Style="{StaticResource P2FindMenuItemStyle}"/>
        </Menu>
        

        <Label Grid.Row="2" Height="25" Margin="0,0,0,0" Name="RoomL" VerticalAlignment="Top" HorizontalAlignment="Left" Width="86" 
Content="{Translate RoomL}"></Label> 
<TextBox Grid.Row="2" Height="23" Margin="90,0,9,0" Name="Room"  Text="{Binding Room}" VerticalAlignment="Top" 
Style="{StaticResource P2TextBoxStyle}" /> 

        <Label Grid.Row="2" Height="25" Margin="0,30,0,0" Name="StatusL" VerticalAlignment="Top" HorizontalAlignment="Left" Width="86" 
Content="{Translate StatusL}"></Label> 
<TextBox Grid.Row="2" Height="23" Margin="90,30,9,0" Name="Status"  Text="{Binding Status}" VerticalAlignment="Top" 
Style="{StaticResource P2TextBoxStyle}" /> 

        <Label Grid.Row="2" Height="25" Margin="0,60,0,0" Name="CategoryL" VerticalAlignment="Top" HorizontalAlignment="Left" Width="86" 
Content="{Translate CategoryL}"></Label> 
<TextBox Grid.Row="2" Height="23" Margin="90,60,9,0" Name="Category"  Text="{Binding Category}" VerticalAlignment="Top" 
Style="{StaticResource P2TextBoxStyle}" /> 

        <Label Grid.Row="2" Height="25" Margin="0,90,0,0" Name="AccountNrL" VerticalAlignment="Top" HorizontalAlignment="Left" Width="86" 
Content="{Translate AccountNrL}"></Label> 
<TextBox Grid.Row="2" Height="23" Margin="90,90,9,0" Name="AccountNr"  Text="{Binding AccountNr}" VerticalAlignment="Top" 
Style="{StaticResource P2TextBoxStyle}" /> 

        <Label Grid.Row="2" Height="25" Margin="0,120,0,0" Name="CompanionL" VerticalAlignment="Top" HorizontalAlignment="Left" Width="86" 
Content="{Translate CompanionL}"></Label> 
<TextBox Grid.Row="2" Height="23" Margin="90,120,9,0" Name="Companion"  Text="{Binding Companion}" VerticalAlignment="Top" 
Style="{StaticResource P2TextBoxStyle}" /> 

                
        

        
        <Label Grid.Row="2" Height="23" Margin="0,180,0,0" Name="StatusNameL" HorizontalAlignment="Left" Width="86" VerticalAlignment="Top"  Content="{Translate StatusNameL}"></Label>
        <ComboBox Grid.Row="2" Height="23" Margin="90,180,9,0" Name="StatusID" VerticalAlignment="Top" 
                  SelectedValuePath="StatusID" DisplayMemberPath="StatusNameCur" ItemsSource="{Binding WorkflowStatusses}"
                  SelectedValue="{Binding StatusID}" Style="{StaticResource P2ComboBoxStyle}" />
    </Grid>
</UserControl>